<nz-table
      nzShowSizeChanger
      [nzData]="listOfRandomUser"
      [nzFrontPagination]="false"
      [nzLoading]="loading"
      [nzTotal]="total"
      [nzPageSize]="pageSize"
      [nzPageIndex]="pageIndex"
      (nzQueryParams)="onQueryParamsChange($event)"
    >
      <thead>
        <tr>
          <th nzColumnKey="examType" [nzSortFn]="true">题型</th>
          <th nzColumnKey="difficulty" [nzSortFn]="true">难度</th>
          <th nzColumnKey="content" [nzSortFn]="true">试题内容</th>
          <th nzColumnKey="createTime" [nzSortFn]="true">创建时间</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of listOfRandomUser">
          <td>{{ data.examType }}</td>
          <td>{{ data.difficulty }}</td>
          <td>{{ data.content }}</td>
          <td>{{ data.createTime }}</td>
        </tr>
      </tbody>
    </nz-table>